Fix left-over from renaming 'comp-*' functions
authorEli Zaretskii <eliz@gnu.org>
Tue, 13 Feb 2024 19:59:03 +0000 (21:59 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 13 Feb 2024 19:59:03 +0000 (21:59 +0200)
* lisp/progmodes/elisp-mode.el (comp--write-bytecode-file): Call
this instead of 'comp-write-bytecode-file', its old name.
Reported by Arthur Miller <arthur.miller@live.com>.

lisp/progmodes/elisp-mode.el

index da0cb96e1cfc277fd202beeafbcc3afde7a7748e..4e0e7552f8ed2e1fa3e36135a10e5e8e7ce2612a 100644 (file)
@@ -221,7 +221,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map."
   (load (byte-compile-dest-file buffer-file-name)))
 
 (declare-function native-compile "comp")
-(declare-function comp-write-bytecode-file "comp")
+(declare-function comp--write-bytecode-file "comp")
 
 (defun emacs-lisp-native-compile ()
   "Native-compile the current buffer's file (if it has changed).
@@ -233,7 +233,7 @@ visited by the current buffer."
          (byte-to-native-output-buffer-file nil)
          (eln (native-compile buffer-file-name)))
     (when eln
-      (comp-write-bytecode-file eln))))
+      (comp-write--bytecode-file eln))))
 
 (defun emacs-lisp-native-compile-and-load ()
   "Native-compile the current buffer's file (if it has changed), then load it.